package com.mj.haier.calc.repository.search;

import com.mj.haier.calc.domain.Order;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * Spring Data Elasticsearch repository for the Order entity.
 */
public interface OrderSearchRepository extends ElasticsearchRepository<Order, Long> {

    /**
     * 删除对象
     * @param orderId
     */
    void deleteByOrderId(Long orderId);
}
